<template>
  <div class="common-layout">
    <el-container>
      <el-header>Smart Form ~ Make form easier</el-header>
      <el-container>
        <el-aside width="200px">
          <sider-bar></sider-bar>
        </el-aside>
        <el-main><RouterView /></el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup lang="ts">
import { RouterView } from "vue-router";
import SiderBar from "@/frame/SiderBar.vue";
</script>

<style scoped>
.el-header {
  display: flex;
  align-items: center;
}
</style>
